package com.nb.ds.mapper;

import com.nb.ds.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lihaoyang6
 * @date 2024年04月20日 16:26
 */
@Mapper
public interface StudentMapper {
    @Select("select id,student_code studentCode,student_name studentName from t_student")
    List<Student> selectAll();

    void insertStu(Student student);
}
